# /usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2022/1/15 8:58
# @Author  : lt
# @Email   : lt@163.com
# @File    : run.py
# @Software: PyCharm
from BeautifulReport import BeautifulReport
import unittest
import datetime
discover = unittest.defaultTestLoader.discover('./case',pattern='test*.py')
suit = BeautifulReport(discover)
now = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
filename = f'RRZ{now}'
suit.report(report_dir='./report',description="日日煮用例",filename=filename)